home *** CD-ROM | disk | FTP | other *** search
/ Especial Multimedia / Especial Multimedia.iso / Multimed / Prg / IMAGELIB.ZIP / MIMAGE.ZIP / USIMPLE.PAS < prev    next >
Pascal/Delphi Source File  |  1995-07-26  |  687b  |  39 lines

  1. {Part of Imagelib VCL/DLL Library.
  2.  
  3. Written by Jan Dekkers and Kevin Adams}
  4.  
  5. unit Usimple;
  6.  
  7. interface
  8.  
  9. uses
  10.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  11.   Forms, Dialogs, StdCtrls, Reg_im20;
  12.  
  13. type
  14.   TForm1 = class(TForm)
  15.     MultiImage1: TMultiImage;
  16.     Button1: TButton;
  17.     OpenDialog1: TOpenDialog;
  18.     procedure Button1Click(Sender: TObject);
  19.   private
  20.     { Private declarations }
  21.   public
  22.     { Public declarations }
  23.   end;
  24.  
  25. var
  26.   Form1: TForm1;
  27.  
  28. implementation
  29.  
  30. {$R *.DFM}
  31.  
  32. procedure TForm1.Button1Click(Sender: TObject);
  33. begin
  34.  if OpenDialog1.execute then
  35.   MultiImage1.Imagename:=OpenDialog1.filename;
  36. end;
  37.  
  38. end.
  39.